<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>父母信息界面</title>
<style>

div{
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	/*border:solid ;
	border-color:#Ff0000;*/
	}
body {
	background:#ffffff;
	margin:0px;	
	margin-left:2%;
}
a {
	text-decoration: none;
	color:#036e6c;
	font-weight:bold;
	font-size:9pt;
}
input{
	background:#f2fbfe;
	}
#manager_title{
	width:98%;
	margin-left:2%;
	height:34px;
	}	
.acbu{
	margin-left:3%;
	margin-top:8px;
	height:80%;
	width:50px;
	background:#087db6;
	float:left;
	}	
.title_b{
	height:34px;
	float:left;
	cursor:pointer;
	}	
.record{
	width:98%;
	height:40px;
	float:left;
	}	
.record div{
	margin-left:3%;
	}

.de_c{
	width:90%;
	height:28px;
	}	
.select_page{
	background-color:#999;
	}		
.options{
	height:30px;
	width:170px;
	border-bottom:dotted #e3e3e3 1px;
	cursor:pointer;
	}
.myfontstyle{
    font-family:'黑体';
    letter-spacing: 3px;
}			
</style>
<script type="text/javascript" src="../Public/js/jquery-1.7.1.min.js"></script>
</head>
<script type="text/javascript">
function selectitem(index){
   switch(index){
    case 1:
    window.location.href="{:U('Upload/showAlbum')}"
    break;
    case 2:
    window.location.href="{:U('Note/notelist')}"
    break;
    case 3:
    window.location.href="{:U('First/Index')}"
    break;
    case 4:
    window.location.href="{:U('Favorite/Index')}"
    break;
    case 5:
    window.location.href="{:U('Video/videolist')}"
    break;
    case 6:
    window.location.href="{:U('Growth/Index')}"
    break;
    case 8:
    window.location.href="{:U('Timeshow/Index')}"
    break;
    case 8:
    window.location.href="{:U('Child/change_info')}"
    break;
   }
}
function modifyInfo(){
    
  window.location.href="{:U('Child/change_info')}";  
}
 function toPicture(picid){
    var url = "fullshow/picid/"+picid;
    window.location.href="{:U('"+url+"')}";
    }  
 function selectArticle(id){
    var url="noteinfo/n_id/"+id;
    window.location.href="{:U('"+url+"')}";
}
function changeHead()
{
   $('#headchange').css('display','block'); 
}
function closeChange()
{
   $('#headchange').css('display','none'); 
}
</script>
<body>
<div style="width:100%;margin-top:2%;height:100%;">

<div id='main' style="float:left;width:67%;">  
  <div style="margin-top:2%;"></div>
  <div style="background:#E2F4FD;height:450px;width:98%;margin-left:2%;">
        <div style="height:10%;width:100%;">
            <div id='childmain' style="float:left;width:90%;height:80%;margin-top:15px;">
                  <div id="listtab" class="title_r">
                    <td>{$parentname}个人信息：</td> 
                  </div>
            
			      <div style="margin-left:8px;line-height:40px; font-size:15pt;color:#6c6c6c;height:40px;;width:85%;float:left;">					
			  </div>
			</div>
        </div>
        <!-- 第一栏结束-->
        <div style="height:90%;border:1px solid #dcdfda;border-left:none;border-right:none;background:#F1F9EC;width:100%;">
        	<div style="width:100%;height:100%;margin-top:5px;">
              
         <form id="form2" name="form2" method="post" action="{:U('Parent/saveInfo')}" enctype="multipart/form-data">  
            <div id="tab1">
               <tbody>
                  <table class="myfontstyle" style="color:#4A8BF4;">
                 
                  <tr>
                    <td colspan="4">出生省市：</td><td colspan="4"><input type="text" id="province" name="province" value="{$list.province}"/></td>
                  </tr>
                  <tr>
                    <td colspan="4">所读学校：</td><td colspan="4"><input type="text"id="school" name="school" value="{$list.school}"/></td>
                </tr>
                <tr>
                    <td colspan="4">公司单位：</td><td colspan="4"><input type="text" id="company" name="company" value="{$list.company}"/></td>
                </tr>
                <tr>
                    <td colspan="4">家庭住址：</td><td colspan="12"><input type="text" id="address" name="address" value="{$list.address}"/></tr>
                <tr>
                    <td colspan="16"><input type="submit" name="hospital" value="保存" style="background-color:$CBE7F3; width:60px;height:30px;font-size:14pt;color:#4A8BF4; " /><input type="reset" name="hospital" value="重置"  style="margin-left:30px;background-color:$CBE7F3; width:60px;height:30px;font-size:14pt;color:#4A8BF4; "/></td>
                </tr>
                 </table> 
              </tbody>
            </div>
            </form>
           
              
              
            </div>
        </div>
       
    </div>

</div>
     <div style="float:left;width:6%;background:url(../Public/child/image/m_line.png) no-repeat right center;height:600px; "></div>

<div style="float:left;width:27%;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><div style="background:url(../Public/child/image/head_img.png) no-repeat top center;width:170px;height:185px"><img src="../Public/upload/head/{$parent.picture}" style="width:170px;height:185px"/></div></td>
  </tr>
  <tr>
    <td><div style="width:150px;margin-top:10px;"><div style="width:67px;height:16px;background:url(../Public/child/image/cimg.png) no-repeat; cursor:pointer;float:left;" onclick="changeHead()"></div>&nbsp;<div style="width:67px;height:16px;background:url(../Public/child/image/update.png) no-repeat; cursor:pointer;float:right" onclick="modifyInfo()"></div></div></td>
  </tr>
  <!--显示修改头像-->
  <form id="form1" name="form1" method="post" action="{:U('parentPhoto')}" enctype="multipart/form-data"> 
  <tr id="headchange" style="display: none;"><td><input type="file" name="photo" style="margin-left: 50px;width:70px;cursor:pointer;"/> <input name="describe" type="submit" value="上传" style="margin-left:5px;width:40px;height: 23px;cursor:pointer" /><input name="describe" type="reset" value="放弃" onclick="closeChange()" style="margin-left:5px;width:40px;height: 23px;cursor:pointer" /></td></tr>
  </form>
  
 
  <tr>
  <tr>
    <td ><div  style="background:url(../Public/child/image/v_line.png) bottom left repeat-x;width:180px;height:7px;"></div></td>
  </tr>
  <tr>
    <td>
    <div style="color:#8C8C8C;font-weight:bold; font-size:12pt;text-align:left;width:180px;padding-top:15px;height:35px;">
      <div style="float:left; margin-right:5px;">浏览{$parentname}个人资料</div>

    </div>   
    </td>
  </tr>
  <tr>
    <td>

    </td>
  </tr>
</table>
</div>
</div> 
<img src="../Public/child/image/flower.png" style="position:absolute;right:0;bottom:0; z-index:-50;" />
</body>
</html>